package equation;

public class SubEquation extends Equation {

    public SubEquation(Integer operandA, Integer operandB) {
        super(operandA, operandB);
        this.setOperator('-');
    }

    @Override
    public Integer calculate() {
        return this.getOperandA() - this.getOperandB();
    }
}
